package com.myjob.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.myjob.entity.MemberOrder;
import com.myjob.response.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Chen Yuan
 */

@Service
public interface OrderService{
	/**
	 * 查询会员信息
	 * @param currentPage 当前页
	 * @param pageSize 页大小
	 * @param orderId 订单编号
	 * @param companyName 企业名称
	 * @return
	 */
	public Result selectOrder(Integer currentPage, Integer pageSize,
	                          Long orderId, String companyName, String searchValue);

	/**
	 * 添加订单
	 * @param order 订单信息
	 * @return 返回订单号
	 */
	public Result addOrder(MemberOrder order);
}